<%@ page import = "sprg.*" %>
<%@ page import = "sprg.dbc.*" %>
<%@ page import = "java.util.*" %>
<%@ page import = "java.util.regex.*" %>
<%
class module extends jpage
{
  private admin admin;
  
  private String Module_Get()
  {
    String tmpstr = "";
    String tAtype = cls.getString(conf.getRequestUsParameter("datype"));
    //if (tAtype.equals("list")) tmpstr = Data_List();
    return tmpstr;
  }

  private String Module_Set()
  {
    String tmpstr = "";
    String tAtype = cls.getString(conf.getRequestUsParameter("datype"));
    //if (tAtype.equals("delete")) tmpstr = Module_Action_Delete();
    return tmpstr;
  }

  public String getOutput()
  {
    PageInit();
    PageNoCache();

    String tmpstr = "";

    admin = new admin(conf);

    if (admin.ckLogin())
    {
      String tType = cls.getString(conf.getRequestUsParameter("type"));

      if (tType.equals("getdata")) tmpstr = Module_Get();
      else if (tType.equals("setdata")) tmpstr = Module_Set();
      //else tmpstr = "";
    }

    PageClose();

    return tmpstr;
  }
}
%>